package com.hog.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

/**
 * WEB开发博文实体
 *
 * @author 唐晴
 * @date 2020年08月05日
 * @since JDK 1.8
 */
@Data
@Table(name = "blog_article_web")
public class BlogArticleWeb {
    @Column(name = "id")
    private long id;
    @Column(name = "title")
    private String title;
    @Column(name = "keywords")
    private String keywords;
    @Column(name = "description")
    private String description;
    @Column(name = "crt_time")
    private Date crtTime;
    @Column(name = "original_text")
    private String originalText;
    @Transient
    private String content;
}